From f21e4de207c89ca1f1d18122c43db30b2ff41e7b Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Fri, 30 Jan 2004 15:55:06 +0000 Subject: [PATCH] bitkeeper revision 1.698 (401a7e5aDnNOz3CRdE_7aMOdSC2hUQ) config.h: Only enable stack guards in debug build. --- xen/include/xeno/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xeno/config.h b/xen/include/xeno/config.h index 530e4ce238..6dc740405d 100644 --- a/xen/include/xeno/config.h +++ b/xen/include/xeno/config.h @@ -145,10 +145,10 @@ #define capable(_c) 0 -#define STACK_GUARD #ifndef NDEBUG #define DPRINTK(_f, _a...) printk("(file=%s, line=%d) " _f, \ __FILE__, __LINE__, ## _a) +#define STACK_GUARD #else #define DPRINTK(_f, _a...) ((void)0) #endif -- 2.30.2